package com.wgy.day1;

/**
 * Created by pc on 2020/10/28 19:45
 * Description: Demo1
 */
public class Demo01 {
    public static void main(String[] args) {
        char zifu1='A';
        System.out.println(zifu1+1);
        char zifu2='a';
        System.out.println(zifu1+zifu2);
        int zifu3= (zifu1+zifu2);
        System.out.println(zifu3);
        byte num4=40;
        byte num5=50;
        byte result1=(byte) (num4+num5);
        System.out.println(result1);
        short num6=60;
        int result2=num6+num4;
        System.out.println(result2);
        char zifu4='中';
        System.out.println(zifu4+0);
        int result3= zifu4+num4;
        System.out.println(result3);
        short result4=(short) (num5+zifu1);
        System.out.println(result4);

    }
}
